package com.ceba.test.modules.email.entity;

import com.ceba.cebautils.DateUtil;
import java.util.Date;


/**
 * 
 * @author Wuhaihua
 * @Table msg_email_valid_log(草稿 验证日志)
 */
public class MsgEmailValidLog{ 
	private String id;
	private String create_user;//创建用户ID 就是发送用户
	private String addresss;//地址（多个地址用英文分号隔开）
	private String signFlag;//签名标识：1 有签名 2 无签名 枚举类 SignFlagEnum
	private String sendStatus;//发送状态：1已发送 2发送成功 3发送失败  枚举类 SendStatusEnum
	private String fileids;//文件ID (多个用英文逗号隔开 g_file)
	private String reportId;//发送的报告ID
	private String title;//邮件标题
	private String name;//发送姓名
	private String content;//发送邮件内容  ：姓名 + 模板内容 +个性签名 
	private String templateId;//发送的邮件模板ID
	private Date create_date;//创建时间
	private String remark;//备注
	private String spare1;//备用字段1
	private String spare2;//备用字段2
	private String spare3;//备用字段3
	
	//----------以下字段非表中字段-------
	private String company_name;//公司名称
	private String no;//报告编号
	private String sreachContent;//查询内容
	private String orderBy;//排序
	
	
	
	
	
	
	
	public String getNo() {
		return no;
	}
	public void setNo(String no) {
		this.no = no;
	}
	public String getOrderBy() {
		return orderBy;
	}
	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}
	public String getSreachContent() {
		return sreachContent;
	}
	public void setSreachContent(String sreachContent) {
		this.sreachContent = sreachContent;
	}
	public String getCompany_name() {
		return company_name;
	}
	public void setCompany_name(String company_name) {
		this.company_name = company_name;
	}
	public String getFileids() {
		return fileids;
	}
	public void setFileids(String fileids) {
		this.fileids = fileids;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCreate_user() {
		return create_user;
	}
	public void setCreate_user(String create_user) {
		this.create_user = create_user;
	}
	public String getAddresss() {
		return addresss;
	}
	public void setAddresss(String addresss) {
		this.addresss = addresss;
	}
	public String getSignFlag() {
		return signFlag;
	}
	public void setSignFlag(String signFlag) {
		this.signFlag = signFlag;
	}
	public String getSendStatus() {
		return sendStatus;
	}
	public void setSendStatus(String sendStatus) {
		this.sendStatus = sendStatus;
	}
	public String getReportId() {
		return reportId;
	}
	public void setReportId(String reportId) {
		this.reportId = reportId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getTemplateId() {
		return templateId;
	}
	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}
	public Date getCreate_date() {
		return create_date;
	}
	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getSpare1() {
		return spare1;
	}
	public void setSpare1(String spare1) {
		this.spare1 = spare1;
	}
	public String getSpare2() {
		return spare2;
	}
	public void setSpare2(String spare2) {
		this.spare2 = spare2;
	}
	public String getSpare3() {
		return spare3;
	}
	public void setSpare3(String spare3) {
		this.spare3 = spare3;
	}
	/**
	 * 返回 yyyy-mm-dd mm:ss 时间格式
	 */
	public String getCreate_dateStr(){
		if(create_date != null){
			return DateUtil.dateToStr(create_date);
		}
		return null;
	}
	
	
}
